package com.baidu.sggc.data.req;

import lombok.Data;

@Data
public class FileInfoListReq {
  /**
   * 业务类型
   */
  private String bizType;

  /**
   * 业务Id
   */
  private Long bizId;

  public void validate() {
    if (bizType == null || bizType.isEmpty()) {
      throw new IllegalArgumentException("bizType cannot be null or empty");
    }
    if (bizId == null) {
      throw new IllegalArgumentException("bizId cannot be null");
    }
  }
}
